home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Arashi 1.1 / SKSample / StdInit.c < prev   
Text File  |  1992-09-09  |  489b  |  26 lines

  1. /*/
  2.      Project Arashi/STORM: StdInit.c
  3.      Major release: 9/9/92
  4.  
  5.      Last modification: Wednesday, September 9, 1992, 21:46
  6.      Created: Thursday, April 23, 1987, 17:38
  7.  
  8.      Copyright © 1987-1992, Juri Munkki
  9. /*/
  10.  
  11. #define    STACKSPACE    32768L
  12.  
  13. void    DoInits()
  14. {
  15.     InitGraf(&thePort);
  16.     InitCursor();
  17.     InitFonts();
  18.     InitWindows();
  19.     InitMenus();
  20.     TEInit();
  21.     InitDialogs(0L);
  22.     InitCursor();
  23.     SetApplLimit(CurStackBase-STACKSPACE);    /*    Allocate some memory for the stack.    */
  24.     MaxApplZone();
  25. }
  26.